package jp.joogoo.web.controller.cron;

import jp.joogoo.web.service.ContentsService;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

/**
 * １ヶ月以上前の新着情報を削除するコントローラです。
 * 
 * @author skitazaki
 * @since 1.1
 */
public class CleanerController extends Controller {

    private static final ContentsService service = new ContentsService();

    @Override
    public Navigation run() throws Exception {
        service.clear();
        return null;
    }
}
